package com.qf.exceptions;

/**
 * created by 赵文韬 on 2022/3/14 20:37
 */
public interface MyErrorCode {
    int SUCCESS = 1;
    int FAIL = 0;
    int DATA_NULL=1000;
    int USER_ALREADY_EXIST=10001;
    int PHONE_ALREDY_EXIST=10002;
    int EMAIL_ALREDY_EXIST=1003;
    int PHONE_REG_NOT_MACTH=1004;
    int MAIL_REG_NOT_MACTH=1005;
    int USERNAME_PASSWORD_ERROR = 10006;//用户名密码错误
    int NOT_LOGIN = 401;//未认证(未登录)
    int PERMSSION_NOT_ALLOWED = 403;//未授权
    int DATA_ALLREADY_EXIST = 10007;//数据已经存在
    int SCENE_NOT_EXIST = 10008;//场景不存在
    int CATEGORY_NOT_EXIST = 10010;//分类不存在
    int DEVICE_ALLREADY_BIND = 10009;//设备已经被绑定
    int DEVICE_NOT_EXIST  = 100011;//设备不存在
}
